package com.yycx.module.bus.client.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;

/**
 * 厂家对账表
 *
 * @author flyme
 * @date 2021-02-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_sfinance")
@TableAlias("sfinance")
@ApiModel(value="BusSfinance对象", description="厂家对账表")
public class BusSfinance extends AbstractEntity {

private static final long serialVersionUID=1L;

    @TableId(value = "sfinanceId", type = IdType.ASSIGN_ID)
    private Long sfinanceId;

    @ApiModelProperty(value = "年月")
    private String financeMonth;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "类型1：本期累计2本期合计")
    private Integer financeType;

    @ApiModelProperty(value = "供货商")
    private Long supplierId;

    private Long companyId;

    @ApiModelProperty(value = "累计发货金额")
    private BigDecimal saleAmount;

    @ApiModelProperty(value = "累计客户回款")
    private BigDecimal returnAmount;

    @ApiModelProperty(value = "是否导入")
    private Integer importData;

    @ApiModelProperty(value = "累计购买方欠款")
    private BigDecimal debtAmount;

    @ApiModelProperty(value = "累计垫付税金")
    private BigDecimal supplierBondAmount;

    @ApiModelProperty(value = "累计退垫付款")
    private BigDecimal supplierBondReturnAmount;

    @ApiModelProperty(value = "累计发货底价")
    private BigDecimal fahuoDjAmount;

    @ApiModelProperty(value = "累计成本金额")
    private BigDecimal costAmount;

    @ApiModelProperty(value = "累计供方高开税金")
    private BigDecimal supplierGapUpTaxesAmount;

    @ApiModelProperty(value = "累计供方已返款金额")
    private BigDecimal supplierRealAmount;

    @ApiModelProperty(value = "累计供方应返款金额")
    private BigDecimal supplierRetableAmount;

    @ApiModelProperty(value = "累计应收供方金额")
    private BigDecimal supplierAmount;

    @ApiModelProperty(value = "备注")
    private String remark;

}
